/**
*@author hupo (317559272@qq.com)
*/
   /*底部浮动*/  
   document.writeln("<link  href=\"\/swt\/css\/waitui.css\" rel=\"stylesheet\" type=\"text\/css\" \/>");
   
   /*********百度商桥隐藏*************/
window.setInterval("setClassq()", 1000);
function setClassq()
{			
    document.getElementById("QIAO_INVITE_CONTAINER").id = "BDBridgeIconWrap12";
   document.getElementById("QIAO_ICON_CONTAINER").id = "BDBridgeIconWrap1322";
document.getElementById("BDBridgeIconWrap").id = "BDBridgeIconWrap1322a";
window.setInterval("setClassq()", 1000);
}

/********百度商桥隐藏 end**************/

function showzx()
{
	if(document.getElementById('best3g_swt').style.display=="none"){
	document.getElementById('best3g_swt').style.display='';
	}
	setTimeout("showYQ()",10000);
	window.setInterval("heartBeat()",1);
}
function showYQ(){
	document.getElementById('best3g_swt_YQ').style.display='block';
	document.getElementById('best3g_swt').style.display='none';
	window.setInterval("heartBeat()",1);
} 
function hideswt(){
	document.getElementById('best3g_swt_YQ').style.display='none';
	document.getElementById('best3g_swt').style.display='block';
	setTimeout("showYQ()",15000);
}
lastScrollY=0;
function heartBeat(){ 
	var diffY;
	if (document.documentElement && document.documentElement.scrollTop)
		diffY = document.documentElement.scrollTop;
	else if (document.body)
		diffY = document.body.scrollTop
	else
		{/*Netscape stuff*/}
	
	percent=.1*(diffY-lastScrollY); 
	if(percent>0)percent=Math.ceil(percent); 
	else percent=Math.floor(percent); 
	document.getElementById("best3g_swt").style.top=parseInt(document.getElementById("best3g_swt").style.top)+percent+"px";
	document.getElementById("best3g_swt_YQ").style.top=parseInt(document.getElementById("best3g_swt_YQ").style.top)+percent+"px";
	lastScrollY=lastScrollY+percent; 
}
host = window.location.host;
document.write("<div id=\"best3g_swt\" style='position:absolute;top:50%;left:100%; margin-left: -30px; margin-top: 150px; width:30px;height:82px; display:none; z-index:10000;'>");

	  document.writeln("<a target=\"_blank\"style=\" cursor:pointer;\" onclick=\"openZoosUrl('chatwin','&e=fudong_youxia_jiao');\"><img src=\"\/swt\/images\/fr_btn1.gif\" width=\"22\" height=\"75\" border=\"0\" /><\/a>");  
	  
document.write('<a target=\"_blank\" href="tel:0394-8172222"><img src=\"\/swt\/images\/fr_btn2.gif\" width=\"22\" height=\"75\" border=\"0\" /><\/a>');
document.write('</div>');
document.write("<div id=\"best3g_swt_YQ\" class=\"asdf\">");
document.write("<a onclick=\"hideswt()\" class=\"asdf23\"><\/a><a  href=\"tel:0394-8172222\"   class=\"asdf13\"><\/a><a onclick=\"openZoosUrl('chatwin','&e=fudong_zhongjian');\" class=\"asdf13 asdf51\"><\/a>");
document.write('</div>');
showzx();

document.write ('<script language=\"javascript\" src=\"http://plt.zoosnet.net/JS/LsJS.aspx?siteid=PLT10779465\"></script>');